Optimal. Leaf size=18 \[ \frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{x^4-4}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0070415, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {275, 217, 206} \[ \frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{x^4-4}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 275
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{x}{\sqrt{-4+x^4}} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{\sqrt{-4+x^2}} \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\frac{x^2}{\sqrt{-4+x^4}}\right )\\ &=\frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{-4+x^4}}\right )\\ \end{align*}
Mathematica [A] time = 0.0027142, size = 18, normalized size = 1. \[ \frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{x^4-4}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 15, normalized size = 0.8 \begin{align*}{\frac{1}{2}\ln \left ({x}^{2}+\sqrt{{x}^{4}-4} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.956952, size = 45, normalized size = 2.5 \begin{align*} \frac{1}{4} \, \log \left (\frac{\sqrt{x^{4} - 4}}{x^{2}} + 1\right ) - \frac{1}{4} \, \log \left (\frac{\sqrt{x^{4} - 4}}{x^{2}} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.455, size = 43, normalized size = 2.39 \begin{align*} -\frac{1}{2} \, \log \left (-x^{2} + \sqrt{x^{4} - 4}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.20737, size = 24, normalized size = 1.33 \begin{align*} \begin{cases} \frac{\operatorname{acosh}{\left (\frac{x^{2}}{2} \right )}}{2} & \text{for}\: \frac{\left |{x^{4}}\right |}{4} > 1 \\- \frac{i \operatorname{asin}{\left (\frac{x^{2}}{2} \right )}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20838, size = 22, normalized size = 1.22 \begin{align*} -\frac{1}{2} \, \log \left (x^{2} - \sqrt{x^{4} - 4}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]